/*
 * 
 * Libman
 * 
 * Daniel Kaufmann, Martin Lang, Simon Moosbrugger,
 * Stefan Mayer, Stephan Halbeisen
 * 
 */
package middleware.datacontainer.searchmedium;

import java.io.Serializable;

/**
 * The Class MediumContainer.
 */
public class MediumContainer implements Serializable{
	
	/** The Constant serialVersionUID. */
	private static final long serialVersionUID = -2491852519284451408L;
	
	/** The id. */
	private Integer id;
	
	/** The title. */
	private String title;
	
	/** The description. */
	private String description;
	
	/** The year. */
	private int year;
	
	/** The language. */
	private String language;
	
	/** The department. */
	private String department;
	
	/** The type. */
	private String type;
	
	/**
	 * Instantiates a new medium container.
	 * 
	 * @param id
	 *            the id
	 * @param titel
	 *            the titel
	 * @param beschreibung
	 *            the beschreibung
	 * @param jahr
	 *            the jahr
	 * @param language
	 *            the language
	 * @param department
	 *            the department
	 * @param type
	 *            the type
	 */
	public MediumContainer(int id, String titel, String beschreibung, int jahr, String language, String department, String type) {
		this.id = id;
		this.title = titel;
		this.description = beschreibung;
		this.year = jahr;
		this.language = language;
		this.department = department;
		this.type = type;
	}
	
	/**
	 * Gets the title.
	 * 
	 * @return the title
	 */
	public String getTitle() {
		return this.title;
	}

	/**
	 * Gets the description.
	 * 
	 * @return the description
	 */
	public String getDescription() {
		return this.description;
	}

	/**
	 * Gets the id.
	 * 
	 * @return the id
	 */
	public Integer getId() {
		return id;
	}

	/**
	 * Gets the year.
	 * 
	 * @return the year
	 */
	public int getYear() {
		return year;
	}

	/**
	 * Gets the language.
	 * 
	 * @return the language
	 */
	public String getLanguage() {
		return language;
	}

	/**
	 * Gets the department.
	 * 
	 * @return the department
	 */
	public String getDepartment() {
		return department;
	}

	/**
	 * Gets the type.
	 * 
	 * @return the type
	 */
	public String getType() {
		return type;
	}
}
